package com.jiedeng.model;

import javax.persistence.*;
import java.util.Date;

/**
 * @author 覃远龙
 * @ClassName: Task
 * @Description:
 * @date 2017/7/25 11:47
 */
@Entity(name = "t_Task")
public class Task {

    @Id
    @Column(name = "TaskID", length = 100)
    private String id;

    @Column(name = "Caption")
    private String caption;

    @Column(name = "WBS_ID")
    private long wbsId;

    @Column(name = "Order_ID")
    private long orderId;

    @Column(name = "Templet_ID")
    private String templeteId;

    @Column(name = "Start_Time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date startTime;

    @Column(name = "End_Time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date endTime;

    @Column(name = "Task_Cycle", length = 20)
    private String taskCycle;

    @Column(name = "Project_ID")
    private long projectId;

    @Column(name = "Task_Corp_ID")
    private long taskCorpId;

    @Column(name = "Task_Person_ID")
    private long taskPersonId;

    @Column(name = "Execute_Time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date excuteTime;

    @Column(name = "Execute_Person_ID", length = 1000)
    private String excutePersonId;

    @Column(name = "Close_Corp_ID")
    private long closeCorpId;

    @Column(name = "Close_Person_ID")
    private long closePersonId;

    @Column(name = "IsCloseDo")
    private boolean isCloseDo;

    @Column(name = "Close_Time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date closeTime;

    @Column(name = "Close_memo", length = 500)
    private String closeMemo;

    @Column(name = "GPS_ID", length = 1000)
    private String GPS;

    @Column(name = "Create_Time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;

    @Column(name = "Pub_Person_ID")
    private long pubPersonId;

    @Column(name = "TaskPub_Corp_ID")
    private long pubCorpId;

    @Column(name = "isDraft")
    private boolean isDraft;

    @Column(name = "Verify_Time")
    private Date verifyTime;

    @Column(name = "Verify_Person_ID")
    private long verifyPersonId;

    @Column(name = "IsVerify")
    private boolean isVerify;

    @Column(name = "Verify_memo", length = 1000)
    private String verifyMemo;

    @Column(name = "IsClose")
    private boolean isClose;

    @Column(name = "IsAuto")
    private boolean isAuto;

    @Column(name = "Isdelete")
    private boolean isDelete;

    @Column(name = "Alarm")
    @Temporal(TemporalType.TIMESTAMP)
    private Date Alarm;

    @Column(name = "IsDo")
    private boolean isDo;

    @Column(name = "prop_ID")
    private Integer propId;

    @Column(name = "StageID")
    private Long stageID;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }

    public long getWbsId() {
        return wbsId;
    }

    public void setWbsId(long wbsId) {
        this.wbsId = wbsId;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public String getTempleteId() {
        return templeteId;
    }

    public void setTempleteId(String templeteId) {
        this.templeteId = templeteId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTaskCycle() {
        return taskCycle;
    }

    public void setTaskCycle(String taskCycle) {
        this.taskCycle = taskCycle;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public long getTaskCorpId() {
        return taskCorpId;
    }

    public void setTaskCorpId(long taskCorpId) {
        this.taskCorpId = taskCorpId;
    }

    public long getTaskPersonId() {
        return taskPersonId;
    }

    public void setTaskPersonId(long taskPersonId) {
        this.taskPersonId = taskPersonId;
    }

    public Date getExcuteTime() {
        return excuteTime;
    }

    public void setExcuteTime(Date excuteTime) {
        this.excuteTime = excuteTime;
    }

    public String getExcutePersonId() {
        return excutePersonId;
    }

    public void setExcutePersonId(String excutePersonId) {
        this.excutePersonId = excutePersonId;
    }

    public long getCloseCorpId() {
        return closeCorpId;
    }

    public void setCloseCorpId(long closeCorpId) {
        this.closeCorpId = closeCorpId;
    }

    public long getClosePersonId() {
        return closePersonId;
    }

    public void setClosePersonId(long closePersonId) {
        this.closePersonId = closePersonId;
    }

    public boolean isCloseDo() {
        return isCloseDo;
    }

    public void setCloseDo(boolean closeDo) {
        isCloseDo = closeDo;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public String getCloseMemo() {
        return closeMemo;
    }

    public void setCloseMemo(String closeMemo) {
        this.closeMemo = closeMemo;
    }

    public String getGPS() {
        return GPS;
    }

    public void setGPS(String GPS) {
        this.GPS = GPS;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public long getPubPersonId() {
        return pubPersonId;
    }

    public void setPubPersonId(long pubPersonId) {
        this.pubPersonId = pubPersonId;
    }

    public long getPubCorpId() {
        return pubCorpId;
    }

    public void setPubCorpId(long pubCorpId) {
        this.pubCorpId = pubCorpId;
    }

    public boolean isDraft() {
        return isDraft;
    }

    public void setDraft(boolean draft) {
        isDraft = draft;
    }

    public Date getVerifyTime() {
        return verifyTime;
    }

    public void setVerifyTime(Date verifyTime) {
        this.verifyTime = verifyTime;
    }

    public long getVerifyPersonId() {
        return verifyPersonId;
    }

    public void setVerifyPersonId(long verifyPersonId) {
        this.verifyPersonId = verifyPersonId;
    }

    public boolean isVerify() {
        return isVerify;
    }

    public void setVerify(boolean verify) {
        isVerify = verify;
    }

    public String getVerifyMemo() {
        return verifyMemo;
    }

    public void setVerifyMemo(String verifyMemo) {
        this.verifyMemo = verifyMemo;
    }

    public boolean isClose() {
        return isClose;
    }

    public void setClose(boolean close) {
        isClose = close;
    }

    public boolean isAuto() {
        return isAuto;
    }

    public void setAuto(boolean auto) {
        isAuto = auto;
    }

    public boolean isDelete() {
        return isDelete;
    }

    public void setDelete(boolean delete) {
        isDelete = delete;
    }

    public Date getAlarm() {
        return Alarm;
    }

    public void setAlarm(Date alarm) {
        Alarm = alarm;
    }

    public boolean isDo() {
        return isDo;
    }

    public void setDo(boolean aDo) {
        isDo = aDo;
    }

    public Integer getPropId() {
        return propId;
    }

    public void setPropId(Integer propId) {
        this.propId = propId;
    }

    public Long getStageID() {
        return stageID;
    }

    public void setStageID(Long stageID) {
        this.stageID = stageID;
    }
}
